<template>
   <h2>我是About的内容</h2>
</template>

<script>
import {onMounted, onBeforeUnmount} from 'vue'
export default {
    name: 'About',
    setup() {
        onMounted(()=>{
            console.log('About组件挂载完毕了')
        })
        onBeforeUnmount(()=>{
            console.log('About组件即将被销毁')
        })
    },
}
</script>

<style>

</style>